package com.lwh.easypoi.service;
import com.lwh.easypoi.entity.MdCheliangEntity;
import org.springframework.web.multipart.MultipartFile;


import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface MdCheliangService {

// 	public void delete(MdCheliangEntity entity) throws Exception;
//
// 	public Serializable save(MdCheliangEntity entity) throws Exception;
//
// 	public void saveOrUpdate(MdCheliangEntity entity) throws Exception;

    public List<MdCheliangEntity> findAll() throws Exception;

    Map<String,Object> findPage(MdCheliangEntity query);

    public String importExcel(MultipartFile uploadFile);

    public List<MdCheliangEntity> outExcel(MdCheliangEntity mdCheliangEntity);

    int insertSelective(MdCheliangEntity mdCheliangEntity);

    int updateByPrimaryKeySelective(MdCheliangEntity mdCheliangEntity);

    int deleteByIds(String[] ids);

    int deleteOneById(String id);

}
